package singletonmode;

/**
 * 单例模式测试
 */
public class Singleton {
    public static void main(String[] args) {
        LazyMode lazyMode=LazyMode.getInstance();
        StarvedMode starvedMode=StarvedMode.getInstance();
        StaticInner staticInner=StaticInner.getInstance();
        Enumeration enumeration=Enumeration.INSTANCE;
    }
}